import VueRouter from "vue-router"
const router = new VueRouter({
  mode: 'history',
  routes: [
    //配置路由的路径
    {
      path: '/map',
      component: () => import('@/views/map/index.vue')
    },
    {
      path: '/detail',
      name: 'detailPage',
      component: () => import('@/views/detail'),
    }
  ]
})
export default router;
